package com.zhazha.stand.mapper;

import java.util.List;

import com.zhazha.stand.entity.Problem;

public interface ProblemMapper {
	
	public Problem getById(int id);
	
	public List<Problem> getByLevel(int level);
	
	public List<Problem> getList();
	
	public int insert(Problem problem);
	
	public int delete(int id);
	
	public int deleteByLevel(int level);
	
	public int clear();
	
	public int update(Problem problem);

}
